str = input("输入字符串：")

lis = {}
for i in str:
    lis[i] = str.count(i)
print(lis)
